/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ucuenca.ec.nosql.modelos;

import java.util.Date;

/**
 *
 * @author mivkys
 */
public class Review {//////CASANDRA DB
    
    private Date date;
    private int customer;
    private int rating = 0;
    private int votes = 0;
    private int helpful = 0;

    public Review() {
    }

    public Review(Date date, int customer, int rating, int votes, int helpful) {
        this.date = date;
        this.customer = customer;
        this.rating = rating;
        this.votes = votes;
        this.helpful = helpful;
    }

    /**
     * @return the date
     */
    public Date getDate() {
        return date;
    }

    /**
     * @param date the date to set
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * @return the customer
     */
    public int getCustomer() {
        return customer;
    }

    /**
     * @param customer the customer to set
     */
    public void setCustomer(int customer) {
        this.customer = customer;
    }

    /**
     * @return the rating
     */
    public int getRating() {
        return rating;
    }

    /**
     * @param rating the rating to set
     */
    public void setRating(int rating) {
        this.rating = rating;
    }

    /**
     * @return the votes
     */
    public int getVotes() {
        return votes;
    }

    /**
     * @param votes the votes to set
     */
    public void setVotes(int votes) {
        this.votes = votes;
    }

    /**
     * @return the helpful
     */
    public int getHelpful() {
        return helpful;
    }

    /**
     * @param helpful the helpful to set
     */
    public void setHelpful(int helpful) {
        this.helpful = helpful;
    }
    
}
